package com.hu.zhcc.shiro.service;

import com.github.pagehelper.PageInfo;
import com.hu.zhcc.shiro.entity.bo.Lixueseng520.LxsDiet;
import com.hu.zhcc.shiro.entity.bo.Lixueseng520.LxsExercise;
import com.hu.zhcc.shiro.entity.bo.Template;
import com.hu.zhcc.shiro.entity.bo.Therapy;
import com.hu.zhcc.shiro.entity.vo.TherapyVO;

import java.util.List;

public interface TherapyService {
    boolean AddTherapy(Therapy therapy);
    PageInfo<Therapy> pageQuery(TherapyVO therapyVO);

    boolean updateTherapy(Therapy therapy,Integer[] diet,Integer[] exercises);
    boolean removeTherapy(Short id);
    List<Template> find();
    List<LxsDiet> finddietbyid(String id);

    List<LxsExercise> findExercisebyid(String id);

}
